# 函数，具有独立功能的代码块，封装独立的功能

def multiple_table():
    print("九九乘法表")
    maxVal = 9

    row = 1
    while row <= maxVal:
        col = 1
        while col <= row:
            print(f"{col}*{row}={col * row}", end="\t")
            col += 1
        row += 1
        print()


if __name__ == '__main__':
    multiple_table()
